#include"view.h"

int main() {

	while (Menu()) {
		int level = 1;
		int over_1 = 0;
		int over_2 = 0;
		int mod = ViewSelect(level);
		switch (mod) {
		case 1:
			while (over_1!=-1) {
				over_1 = ViewGame(mod,level);
				over_2 = ViewOver(over_1);
				if (over_2 != -1)
					level += over_2;
				else
					break;
			}
			break;
		case 2:
			break;
		default:
			break;
		}
	}
	return 0;
}